Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Joan Elponechekader 23.Dec.02 03:54 PM a Web browser
Domino Server 6.0 Windows 2000


I am trying to get the java agent open up a socket to a remote host. But the jvm throw the following exception:

12/23/2002 10:45:02 AM AMgr: Agent ('TarianAgent' in 'Tarian.nsf')
java.lang.SecurityException: mps22,-1
at lotus.notes.AgentSecurityManager.checkConnect(Unknown Source)
at java.net.InetAddress.getAllByName0(InetAddress.java:579)
at java.net.InetAddress.getAllByName0(InetAddress.java:560)
at java.net.InetAddress.getByName(InetAddress.java:469)
at java.net.Socket.<init>(Socket.java:121)


I try to do the following setting:

(1) java.policy
permission java.net.SocketPermission "mps22", "resolve,connect";

(2) Lotus Domino server document (eg. domain=IBM), I set the
following:
Run unrestricted Java/Javascript/COM: kelvin wan/IBM

Note that "kelvin wan" account on Lotus has manager access.
The above setting does not work but according to Lotus Domino and jvm security policy, these setting should work. Can you help me understand this?

But if I do the following in java.policy file:
permission java.security.AllPermission
it works fine. Certainly this is not a
good solution. Please tell me what I have done wrong.






Security exception: lotus.notes.Age... (~Joan Elponeche... 23.Dec.02)
. . RE: Security exception: lotus.notes... (~Bill Asakrolyl... 6.Jan.03)
. . RE: Security exception: lotus.notes... (~Sigmund Umlust... 8.Feb.03)
. . . . RE: Security exception: lotus.notes... (~Dean Dwoboosip... 9.Apr.03)
. . . . . . RE: Security exception: lotus.notes... (~Sean Preagen 11.Sep.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS